const express = require('express')
const path = require('path')
const app = express()
const router = require('./router')
router(app)

let server = app.listen(3000,'127.0.0.1',()=>{
    let host = server.address().address
    let port = server.address().port
    console.log(`App is running ${host} on port ${port}`);
})











